<template>
    <h1>我是APP组件</h1>
    <MyCom4>
        <template #default>
            <div>传入给默认插槽的内容</div>
        </template>

        <template #title="obj">
            <div>弹出框的标题部分 --- {{ obj.data }}</div>
        </template>

        <template v-slot:showmsg="qwe">
            <div>弹出框的展示文本 --- {{ qwe.num }}</div>
        </template>
    </MyCom4>
</template>

<script>
import MyCom from './component/my_com.vue'
import MyCom2 from './component/my_com2.vue'
import MyCom3 from './component/my_com3.vue'
import MyCom4 from './component/my_com4.vue'
export default {
    components: {
        MyCom,
        MyCom2,
        MyCom3,
        MyCom4
    }
};
</script>

<style scoped></style>
